From: Florian Müllner Date: Thu, 12 Sep 2019 11:51:26 +0000 (+0200) Subject: ci: Disallow legacy style in merge requests X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~811^2^2~87 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1aca2ba6bbee99e74d87d09d14176aa46275423e;p=gnome-shell.git ci: Disallow legacy style in merge requests In order to transition from the current legacy style to the modern gjs one, use the MR line-filtering we used to do on common errors to ensure new code complies with the new style. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/716 --- diff --git a/.gitlab-ci/run-eslint.sh b/.gitlab-ci/run-eslint.sh index aad95f46a..8466d97c3 100755 --- a/.gitlab-ci/run-eslint.sh +++ b/.gitlab-ci/run-eslint.sh @@ -96,6 +96,6 @@ if [ -z "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" ]; then exit 0 fi -copy_matched_lines $OUTPUT_FINAL $LINE_CHANGES $OUTPUT_MR +copy_matched_lines $OUTPUT_REGULAR $LINE_CHANGES $OUTPUT_MR cat $OUTPUT_MR is_empty $OUTPUT_MR